package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OneOrderItem {

    private Long id;
    /**
     * 用餐日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "用餐日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date mealDate;

    /**
     * 餐别
     */
    @Excel(name = "餐别")
    private String mealType;

    /**
     * 是否订餐（1=是,0=否）
     */
    @Excel(name = "状态", readConverterExp = "1=是,0=否,2=已核销,3=未填写")
    private Integer isOrdered;

    /**
     * 培训名称
     */
    @Excel(name = "培训名称")
    private String trainingName;
}
